package cn.wolfcode.service;

import cn.wolfcode.domain.Employee;
import cn.wolfcode.qo.EmployeeQuery;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;


public interface IEmployeeService extends IService<Employee> {
    Page<Employee> queryPage(EmployeeQuery qo);
    Employee selectByPrimaryKey(Long id);

    List<String> selectByPermission(Long id);

    Employee login(String username, String password);

}
